{extend name="public/main"}
{block name='body'}
<!-- 顶部菜单区域 开始 -->
<div class="framework-topbar">
    <div class="topbar-head pull-left">
        ADMIN
    </div>
    <ul class="layui-nav pull-left">
        <li class="layui-nav-item" lay-unselect>
            <a ew-event="flexible" title="侧边伸缩"><i class="layui-icon layui-icon-shrink-right"></i></a>
        </li>
        <li class="layui-nav-item" lay-unselect>
            <a ew-event="refresh" title="刷新"><i class="layui-icon layui-icon-refresh-3"></i></a>
        </li>
    </ul>
    <ul class="layui-nav pull-right">
        <li class="layui-nav-item" lay-unselect>
            <a ew-event="message" title="消息">
                <i class="layui-icon layui-icon-notice"></i>
                <span class="layui-badge-dot"></span>
            </a>
        </li>
        <ul class="layui-nav right" lay-filter="">
            <li class="layui-nav-item">
                <a href="javascript:;">ad232323323min</a>
                <dl class="layui-nav-child">
                    <!-- 二级菜单 -->
                    <dd>
                        <a onclick="xadmin.open('个人信息','http://www.baidu.com')">个人信息</a></dd>
                    <dd>
                        <a onclick="xadmin.open('切换帐号','http://www.baidu.com')">切换帐号</a></dd>
                    <dd>
                        <a href="./login.html">退出</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item to-index">
                <a href="/">前台首页</a></li>
        </ul>
        <li class="layui-nav-item" lay-unselect>
            <a ew-event="message" title="消息">
                <i class="layui-icon layui-icon-notice"></i>
                <span class="layui-badge-dot"></span>
            </a>
        </li>
    </ul>
    <a class="topbar-btn pull-right transition" data-tips-text="刷新" data-reload="true" style="width:50px"><i class="layui-icon layui-icon-refresh-3"></i></a>
</div>
<!-- 顶部菜单区域 结束 -->
<!-- 左则菜单区域 结束 -->
<div class="framework-leftbar ">
    <div class="left-nav">
        <ul id="nav">
           <!-- {volist name="menus" id="one" key="k"}-->
            <li>
                <!-- {if isset($one['sub'])}-->
                <a href="javascript:;" data-action="s-{$one.id}" data-menu-node="s-{$one.id}"><i class="fa {$one.icon} font-s12" lay-tips="{$one.title}"></i><cite>{$one.title}</cite><i class="fa fa-angle-right  nav_right"></i></a>
                    <ul class="sub-menu">
                        <!-- {volist name="$one['sub']" id="two" key="k2"}-->
                        <li>
                            <!-- {if isset($two['sub'])}-->
                                <a href="javascript:;" data-open="{$two.url}" data-menu-node="m-{$one.id}-{$two.id}"><i class="fa {$two.icon|default='fa fa-circle-o'}"></i><cite>{$two.title}</cite></a>
                                <ul class="sub-menu">
                                    <!--{volist name="$two['sub']" id="th" key="k3"}-->
                                        <li> <a href="javascript:;"  data-menu-node="m-{$one.id}-{$two.id}-{$th.id}">><i class="fa {$th.icon|default='fa fa-circle-o'}"></i><cite>{$th.title}</cite></a></li>
                                    <!-- {/volist}-->
                                    </ul>
                            <!-- {else}-->
                            <a href="javascript:;" data-open="{$two.url}"  data-menu-node="m-{$one.id}-{$two.id}">><i class="fa {$two.icon|default='fa fa-circle-o'} font-s12"></i><cite>{$two.title}</cite></a>
                            <!-- {/if}-->
                        </li>
                        <!-- {/volist}-->
                    </ul>
                <!-- {else}-->
                    <a href="javascript:;" data-open="{$one.url}"  data-menu-node="m-{$one.id}"><i class="fa {$one.icon}" lay-tips="{$one.title} font-s12"></i><cite>{$one.title}</cite><i class="fa fa-angle-right nav_right"></i></a>
                <!-- {/if}-->
                </li>
            <!-- {/volist}-->
        </ul>
    </div>
</div>
<!-- 右则内容区域 开始 -->
<!-- 右则内容区域 开始 -->
<div class="framework-body">
    <iframe src="{:url('index/main')}" id="layiframe" width="99.85%" height="96.85%" border="0" marginwidth="0" marginheight="0" scrolling-x="no"   allowtransparency="yes"></iframe>

</div>
<!-- 右则内容区域 结束 -->
{/block}
